<template>
	<view class="contents">
		<!-- <view class="abnei" >
			<u-parse :html="richText.content"></u-parse>
		</view> -->
		<button class="abys u-reset-button" open-type="contact">
			我的客服
			<u-icon name="arrow-right"></u-icon>
		</button>
		<view class="abys" @tap="$Router.push('/pages/user/yijian')">
			意见反馈
			<u-icon name="arrow-right"></u-icon>
		</view>
		<view class="abbb">
			<view class="copyright-text">{{ initShop.copyright[0] }}</view>
			<view class="copyright-text">{{ initShop.copyright[1] }}</view>
		</view>
	</view>
</template>

<script>
	import Auth from '@/shopro/permission/index.js';
	import { mapState, mapActions, mapGetters } from 'vuex';
	export default {
		data() {
			return {
				content:"",
				richText: ''
			}
		},
		computed: {
			...mapGetters(['initShop'])
		},
		onLoad() {
			// this.$Route.query.id && this.getRichText();
		},
		methods: {
			getRichText() {
				this.$http('common.richText', {
					id: this.$Route.query.id
				}).then(res => {
					if (res.code === 1) {
						this.richText = res.data;
						uni.setNavigationBarTitle({
							title: res.data.title
						});
					}
				});
			}
			
		}
	}
</script>

<style scoped>
	.contents{
		background: #F9F9F9;
		min-height: calc(100vh - 38rpx);
		padding-bottom: 80rpx;
		padding-top: 20rpx;
	}
	
	.abnei{
		padding: 40rpx 0;
		font-size: 28rpx;
		font-weight: 400;
		color: #333333;
		line-height: 40rpx;
	}
	.abys{
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 80rpx;
		line-height: 80rpx;
		background: #FFFFFF;
		border-radius: 6rpx;
		padding: 0 22rpx;
		width: calc(100% );
		margin-bottom: 20rpx;
		/* border: 1px solid #EEEEEE; */
		/* margin-bottom: 388rpx; */
	}
	.abbb{
		font-size: 22rpx;
		font-weight: 400;
		color: #7C7C7C;
		line-height: 40rpx;
		text-align: center;
	}
	.abbb {
		position: absolute;
		bottom: 40rpx;
		width: 100%;
	}
</style>
